package com.platform.server.util;

public class Constant {
	
	//public static final String SERVER_NAME="120.25.237.198";
	public static final String SERVER_NAME="120.78.74.161";
	
	//文件上传文件夹类型
	public static final int UPLOAD_PHOTO_TYPE_WEBROADCAST=1;
	public static final int UPLOAD_PHOTO_TYPE_MY_TRAIN=2;
	public static final int UPLOAD_PHOTO_TYPE_MY_DATA=3;
	
	public final static String IMAGECOMPRESS_SMALLICON="x2";
	
	public final static int IMAGECOMPRESS_WIDTH=400;  //图片压缩宽度
	public final static int IMAGECOMPRESS_HEIGHT=400;  //图片压缩长度
	public final static int IMAGECOMPRESS_COMBASE= 139; //图片压缩基比
	//压缩限制(宽/高)比例  一般用1：
	 //当scale>=1,缩略图height=comBase,width按原图宽高比例;若scale<1,缩略图width=comBase,height按原图宽高比例
	public final static double IMAGECOMPRESS_SCALE=1d;
	
	public static final int PAGE_SIZE=10;
	
	public static final String PC_UPLOAD_VIDEO_URL="http://upload.dvr.aodianyun.com/v2/DVR.UploadPart";
		
	public static final String GET_UPLOAD_VIDEO_LIST="http://openapi.aodianyun.com/v2/DVR.GetUploadDvrList";
		
	public static final String APPLICATION_JSON_UTF8="application/json;charset=utf-8";
}
